<style>.jwc_frame { margin: 1em;}</style>

<div class="pageheader">
	<h1 class="pagetitle">Redimensionar Imagem</h1>
	<span class="pagedesc"></span>
</div>

<div id="contentwrapper" class="contentwrapper">
	<?php 
		if (!empty($image)) {
			echo $this->element('jwindowCrop');
			echo $this->Form->create('Usuario', array('type' => 'file', 'class' => 'stdform stdform2')); 
			echo $this->Crop->ThumbInterface($image, 0, $image_directory);
			echo $this->Form->input('id', array('type' => 'hidden'));
			echo "<br />";
			echo $this->Form->button('Redimensionar', array('class' => 'stdbtn btn_blue modal-send modal-button'));
			echo $this->Form->end();
		}
	?>
</div>